﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace Mian.Model;

[Table("ChatUser")]
public partial class ChatUser
{
    /// <summary>
    /// 用户id
    /// </summary>
    [Key]
    [Column("uid")]
    public int Uid { get; set; }

    /// <summary>
    /// 用户昵称
    /// </summary>
    [Column("nick")]
    [Unicode(false)]
    public string Nick { get; set; } = null!;

    /// <summary>
    /// 用户电话
    /// </summary>
    [Column("phone")]
    [StringLength(11)]
    [Unicode(false)]
    public string Phone { get; set; } = null!;

    /// <summary>
    /// 性别
    /// </summary>
    [Column("gender")]
    [Unicode(false)]
    public string Gender { get; set; } = null!;

    /// <summary>
    /// 在线状态
    /// </summary>
    [Column("onlineStatus")]
    [Unicode(false)]
    public string OnlineStatus { get; set; } = null!;

    /// <summary>
    /// 生日
    /// </summary>
    [Column("brithday", TypeName = "date")]
    public DateTime? Brithday { get; set; }

    /// <summary>
    /// 个性签名
    /// </summary>
    [Column("signaTure")]
    [Unicode(false)]
    public string? SignaTure { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    [Column("status")]
    public int Status { get; set; }

    /// <summary>
    /// ip地址
    /// </summary>
    [Column("ip")]
    [Unicode(false)]
    public string? Ip { get; set; }

    /// <summary>
    /// 等级
    /// </summary>
    [Column("levelId")]
    public int? LevelId { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Column("createTime", TypeName = "date")]
    public DateTime? CreateTime { get; set; }
}
